package com.ys.entity.business;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TB_BaseInfo", catalog="Id")
public class TbBaseInfo extends BaseEntity<TbBaseInfo> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="FinanceBid", nameJava="financeBid", typeDataBase="varchar")
	private String financeBid;
	@YsField(nameDataBase="ManageBid", nameJava="manageBid", typeDataBase="varchar")
	private String manageBid;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="Aid", nameJava="aid", typeDataBase="int")
	private Integer aid;
	@YsField(nameDataBase="Iid", nameJava="iid", typeDataBase="int")
	private Integer iid;
	@YsField(nameDataBase="Guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="PGuid", nameJava="pGuid", typeDataBase="varchar")
	private String pGuid;
	@YsField(nameDataBase="VType", nameJava="vType", typeDataBase="varchar")
	private String vType;
	@YsField(nameDataBase="VId", nameJava="vId", typeDataBase="varchar")
	private String vId;
	@YsField(nameDataBase="VName", nameJava="vName", typeDataBase="varchar")
	private String vName;
	@YsField(nameDataBase="FValue", nameJava="fValue", typeDataBase="decimal")
	private BigDecimal fValue;
	@YsField(nameDataBase="VAccountName", nameJava="vAccountName", typeDataBase="varchar")
	private String vAccountName;
	@YsField(nameDataBase="VAccount", nameJava="vAccount", typeDataBase="varchar")
	private String vAccount;
	@YsField(nameDataBase="VCID", nameJava="vCID", typeDataBase="varchar")
	private String vCID;
	@YsField(nameDataBase="BDefault", nameJava="bDefault", typeDataBase="bit")
	private Integer bDefault;
	@YsField(nameDataBase="VReMark", nameJava="vReMark", typeDataBase="varchar")
	private String vReMark;
	@YsField(nameDataBase="BDeleted", nameJava="bDeleted", typeDataBase="bit")
	private Integer bDeleted;
	@YsField(nameDataBase="VValue", nameJava="vValue", typeDataBase="varchar")
	private String vValue;
	@YsField(nameDataBase="SortNo", nameJava="sortNo", typeDataBase="int")
	private Integer sortNo;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TbBaseInfo setId(Long id) {
		this.id = id;
		return this;
	}
	public String getFinanceBid() {
		return financeBid;
	}
	public TbBaseInfo setFinanceBid(String financeBid) {
		this.financeBid = financeBid;
		return this;
	}
	public String getManageBid() {
		return manageBid;
	}
	public TbBaseInfo setManageBid(String manageBid) {
		this.manageBid = manageBid;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TbBaseInfo setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public Integer getAid() {
		return aid;
	}
	public TbBaseInfo setAid(Integer aid) {
		this.aid = aid;
		return this;
	}
	public Integer getIid() {
		return iid;
	}
	public TbBaseInfo setIid(Integer iid) {
		this.iid = iid;
		return this;
	}
	public String getGuid() {
		return guid;
	}
	public TbBaseInfo setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getPGuid() {
		return pGuid;
	}
	public TbBaseInfo setPGuid(String pGuid) {
		this.pGuid = pGuid;
		return this;
	}
	public String getVType() {
		return vType;
	}
	public TbBaseInfo setVType(String vType) {
		this.vType = vType;
		return this;
	}
	public String getVId() {
		return vId;
	}
	public TbBaseInfo setVId(String vId) {
		this.vId = vId;
		return this;
	}
	public String getVName() {
		return vName;
	}
	public TbBaseInfo setVName(String vName) {
		this.vName = vName;
		return this;
	}
	public BigDecimal getFValue() {
		return fValue;
	}
	public TbBaseInfo setFValue(BigDecimal fValue) {
		this.fValue = fValue;
		return this;
	}
	public String getVAccountName() {
		return vAccountName;
	}
	public TbBaseInfo setVAccountName(String vAccountName) {
		this.vAccountName = vAccountName;
		return this;
	}
	public String getVAccount() {
		return vAccount;
	}
	public TbBaseInfo setVAccount(String vAccount) {
		this.vAccount = vAccount;
		return this;
	}
	public String getVCID() {
		return vCID;
	}
	public TbBaseInfo setVCID(String vCID) {
		this.vCID = vCID;
		return this;
	}
	public Integer getBDefault() {
		return bDefault;
	}
	public TbBaseInfo setBDefault(Integer bDefault) {
		this.bDefault = bDefault;
		return this;
	}
	public String getVReMark() {
		return vReMark;
	}
	public TbBaseInfo setVReMark(String vReMark) {
		this.vReMark = vReMark;
		return this;
	}
	public Integer getBDeleted() {
		return bDeleted;
	}
	public TbBaseInfo setBDeleted(Integer bDeleted) {
		this.bDeleted = bDeleted;
		return this;
	}
	public String getVValue() {
		return vValue;
	}
	public TbBaseInfo setVValue(String vValue) {
		this.vValue = vValue;
		return this;
	}
	public Integer getSortNo() {
		return sortNo;
	}
	public TbBaseInfo setSortNo(Integer sortNo) {
		this.sortNo = sortNo;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TbBaseInfo setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TbBaseInfo setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TbBaseInfo setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TbBaseInfo tbBaseInfo(
		String financeBid,
		String manageBid,
		String bid,
		Integer aid,
		Integer iid,
		String guid,
		String pGuid,
		String vType,
		String vId,
		String vName,
		BigDecimal fValue,
		String vAccountName,
		String vAccount,
		String vCID,
		Integer bDefault,
		String vReMark,
		Integer bDeleted,
		String vValue,
		Integer sortNo,
		Integer status
			) {
		TbBaseInfo entity = new TbBaseInfo();
		entity.setFinanceBid(financeBid);
		entity.setManageBid(manageBid);
		entity.setBid(bid);
		entity.setAid(aid);
		entity.setIid(iid);
		entity.setGuid(guid);
		entity.setPGuid(pGuid);
		entity.setVType(vType);
		entity.setVId(vId);
		entity.setVName(vName);
		entity.setFValue(fValue);
		entity.setVAccountName(vAccountName);
		entity.setVAccount(vAccount);
		entity.setVCID(vCID);
		entity.setBDefault(bDefault);
		entity.setVReMark(vReMark);
		entity.setBDeleted(bDeleted);
		entity.setVValue(vValue);
		entity.setSortNo(sortNo);
		entity.setStatus(status);
		return entity;
	}
}